package ru.maksb.exchange.domain.request;

import ru.maksb.exchange.domain.OrderSide;
import ru.maksb.exchange.domain.OrderType;

public class NewOrderRequest extends Request {
    private String ticket;
    private OrderType type;
    private OrderSide side;
    private int amount;
    private double price;

    public NewOrderRequest() {
    }

    public NewOrderRequest(String ticket, OrderType type, OrderSide side,
            int amount, double price) {
        super();
        this.ticket = ticket;
        this.type = type;
        this.side = side;
        this.amount = amount;
        this.price = price;
    }
    
    public String getTicket() {
        return ticket;
    }
    public void setTicket(String ticket) {
        this.ticket = ticket;
    }
    public OrderType getType() {
        return type;
    }
    public void setType(OrderType type) {
        this.type = type;
    }
    public OrderSide getSide() {
        return side;
    }
    public void setSide(OrderSide side) {
        this.side = side;
    }
    public int getAmount() {
        return amount;
    }
    public void setAmount(int amount) {
        this.amount = amount;
    }
    public double getPrice() {
        return price;
    }
    public void setPrice(double price) {
        this.price = price;
    }
}
